package com.wy.dubbo.apiProvider;

import com.alibaba.dubbo.config.annotation.Service;
import com.baseBean.User;
import com.dubbo.sqlService.AddressService;
import org.springframework.stereotype.Component;

@Component
@Service
public class AddressServiceApiImpl implements AddressService {
    @Override
    public Integer getAddress(User user) {
        System.out.println("address");
        System.out.println(user);
        return user.getId()+100;
    }
}
